package com.ray.bean;

import java.security.KeyStore.PrivateKeyEntry;
import java.util.List;
import java.util.Set;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CompanyMaterialTableBean {
    private String id ;//主键
	private String materialCode;//物料代码
	private String materialName;//物料名称
	private String model;//规格型号
	private String unit;//单位
	private Double unitPrice;//单价
	private String status;//状态
	private String defaultWarehouse;//默认仓库
	private String providerName;//供应商名称
	private String materialType;//物料类型
	private String color;//色号
	private String colorDescription;//色号描述
	private Integer procurementCycles;//采购周期
	private String creater;//创建人
	private String creationTime;//创建时间
	private String lastModifier;//上一次修改人
	private String lastModifyTime;//上一次修改时间
	private Integer isStock;//是否可库存
	private Double stockTurnover;//库存周转量
	private Integer isEquals;//计价单位是否等同于生产单位
	private String company;//公司
	private Double count;//库存数量
	private Double scrapCount;//报废数量
	private String providerNo;//供方编号
	//导出时用的库存数
	private String exportCount;
	
	private String exportProductionUnitCount;
	private Integer feedCount;//投料数
	private String positions;//仓位
	private double sumPrice;
	//新增字段 采购单占用公司库存数量
	private Double useCount;
	//订单编号 at 2018-04-13 by 李斌 
	private Double countb;//feed_purcha inCont
	private String orderId;//订单编号
	private String companyOrderId;
	private String purchaseDetailId;//fedd_Purcha id 
	private String factoryNo;//工厂型号
	private Double purchaseCount;
	//@author 王荣
	private String material;//材质
	private String img;//图片
	private String imgTwo;//图片2
	private String imgThree;//图片3
	private String imgFour;//图片4
	private Double transmittance;//透光率
	private Integer typeId;//分类id
	private Integer isSynchronization;//商城物料库存是否同步公司仓库库存 1同步 2 不同步
	
	private String arts;//工艺 
	
	//附加采购单属性@nateLu
	private String coustomId;//客户型号
	private String purchaseId;//采购单号
	private int type;//采购类型
	private String approvalUser;//验收人
	private Integer isAdvancePurchase;//是否为预采购单 0 否 1 是
	
	//附加出入库属性 李斌
	private String inCountUnit;
    private Double inCountPrice;
    private Double outCountPrice;
    private Double sumMoneyCount;
    private String remark;//备注
    
    //附加other_warehouse 订单行号
    private String rowIndex;
    
	//关联数量
	private Double relationCount;
	//未入库数量
	private Double notInCount;
    //投料单占用数
	private Double feedUseCount;
	//相同物料投料单占用数
	private Double materialUseCount;
	//生产单位库存数 
	private Double productionUnitCount;
	
	//安全库存上限
	private  Double safetyStockMax;
	//安全库存上限
	private  Double safetyStockMin;
	//仓库
	private Integer warehouseType;
	//是否可采购
	private Integer purchaseApproval;
	//是否含税
	private Integer isTax;
	//税率
	private Integer tax;
	//入库数量
	private String inCount;
	//车间退回的付数
	private Integer workOutCount;
	//库存数量
	private Double materialCount;
	//生产单位出库数
	private Double productionUnitOutCount;
	//订单投料数
	private Double feedTotal;
	//是否为生产单位
	private Integer isProductionUnit;
	//可入库数
	private Double canInCount;
	//是否为模板导入
	private Boolean isTemplateImport = false;
	//是否重复
	private Boolean isRepeat;
	//是否收藏 1 已收藏  2 未收藏
	private int isCollection;
	//物料公司是否和本公司的供应商对应过
	private Boolean suppilerIsReleationConpany;
	
	private String contactPhone;//联系电话
	
	private String contactName;//联系人姓名
	
	private String feedDetailId;//投料单明细id
	
	private Double inOutMoney;//出入库金额
	
	private Integer materialDeptId;//物料归属部门
	
	private String materialDeptName;//物料归属部门名称
	
	private List<String> positionList;//仓位字符串集合
	
	private Integer isSpot;//是否为现货
	
	private Double adJustInPrice;//可调整入库单价
	
	private Double adJustInCount;//可调整入库数量
	
	private String inDay;//入库日期
	
	private String  workShopId;//车间id
	
    private Set<String> subProviderSet;//子供应商名称集合
    
    //hidePriceForPurchase companyMaterialTableConfig
    private int hidePriceForPurchase;
}
